/deep/ .avatar-uploader {
    display: inline-block;
    // margin-right: 5px;

    .el-upload {
        border: 1px dashed #d9d9d9;
        border-radius: 6px;
        cursor: pointer;
        position: relative;
        overflow: hidden;

        &:hover {
            border-color: #409EFF;
        }
    }

    .avatar-uploader-icon {
        font-size: 28px;
        color: #8c939d;
        width: 75px;
        height: 75px;
        line-height: 75px;
        text-align: center;
    }

    .avatar {
        width: 75px;
        height: 75px;
        display: block;
    }
}

/deep/ .el-radio-button__inner {
    padding: 8px 15px !important;
}

.emoji-container {
    min-width: 400px;
    background-color: #fff;
    border: 1px solid #e4e7ed;
    padding: 5px;
    border-radius: 5px;

    .emojiBox {
        min-height: 150px;
        max-height: 150px;
        max-width: 400px;
        overflow-y: scroll;

        &::-webkit-scrollbar {
            display: none;
        }

        .emoji-item {
            cursor: pointer;
            display: inline-block;

            .emoji {
                padding: 3px;
                border-radius: 5px;
                width: 30px;
                height: 30px;

                &:hover {
                    background-color: rgb(221, 221, 221)
                }
            }

            .heoImg {
                width: 40px;
                height: 40px;
                transition: all 0.35s;
                margin-left: 5px;

                &:hover {
                    transform: scale(1.2);
                }
            }
        }

        #collectEmoji {
            display: flex;
            flex-wrap: wrap;
            width: 100%; /* 确保容器宽度足够 */
        }

        .collect-emoji {
            width: 76px;
            height: 76px;
            padding: 3px;
            display: inline-block;
            cursor: pointer;
            border-radius: 6px;
            flex: 0 0 20%; /* 每个项目占据容器宽度的25% */
            box-sizing: border-box; /* 防止padding影响宽度 */

            img {
                vertical-align: baseline;
                width: 100%;
                height: 100%;
                border-radius: 2px;
            }
        }
        
        .upload-emoji {
            display: inline-block;
        }

        .contextmenu {
            margin: 0;
            background: #fff;
            z-index: 50;
            list-style: none;
            position: fixed; //关键样式设置固定定位
            color: #333;
            box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.3);
            border-radius: 5px;

            li {
                margin: 0;
                padding: 5px;
                width: 100px;
                cursor: pointer;
                color: #000;
                position: relative;
                line-height: 0;

                .menuitem {
                    padding: 5px;
                    font-size: 0.8rem;
                    border-radius: 5px;

                    i {
                        margin-right: 3px;
                    }

                    &:hover {
                        background: #ddaec8;
                    }

                }
            }
        }
    }

    .btnBox {
        display: flex;
        -webkit-box-align: center;
        align-items: center;
        padding: 4px 6px 0;
        margin-top: 4px;
        border-top: 1px solid #e4e7ed;
        cursor: pointer;
        & .active {
            background-color: #e4e7ed;
            color: #fcfafa;
            padding: 2px;
            line-height: 18px;
            border-radius: 6px;
        }
    }

}